package gstudio.images;

import org.eclipse.jface.resource.ImageDescriptor;
import org.eclipse.swt.graphics.Image;

public class MyImage {
	public ImageDescriptor get(String name) {
		Image newImg = new Image(null, this.getClass().getResourceAsStream(
				"/icons/" + name));
		return ImageDescriptor.createFromImage(newImg);

	}
}
